package com.yyplatform.admin.infra.web.shiro.service;

import java.util.Set;

import com.yyplatform.admin.infra.model.dto.RequestInfoDTO;
import com.yyplatform.admin.infra.web.shiro.CurrentUser;

/**
 * Created on 2024-09-14
 */
public interface MyShiroService {

    LoginCheckRespDTO loginCheck(RequestInfoDTO requestInfoDTO, LoginCheckReqDTO loginCheckReqDTO);

    Set<String> getUserPermissions(Long userId);

    CurrentUser getUserByToken(String token);

    void logout(Long id);

}
